Optimal. Leaf size=67 \[ \frac{x \sqrt{a+\frac{b}{x}+\frac{c}{x^2}}}{a}-\frac{b \tanh ^{-1}\left (\frac{2 a+\frac{b}{x}}{2 \sqrt{a} \sqrt{a+\frac{b}{x}+\frac{c}{x^2}}}\right )}{2 a^{3/2}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0956167, antiderivative size = 67, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ \frac{x \sqrt{a+\frac{b}{x}+\frac{c}{x^2}}}{a}-\frac{b \tanh ^{-1}\left (\frac{2 a+\frac{b}{x}}{2 \sqrt{a} \sqrt{a+\frac{b}{x}+\frac{c}{x^2}}}\right )}{2 a^{3/2}} \]
Antiderivative was successfully verified.
[In] Int[1/Sqrt[a + c/x^2 + b/x],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 11.689, size = 53, normalized size = 0.79 \[ \frac{x \sqrt{a + \frac{b}{x} + \frac{c}{x^{2}}}}{a} - \frac{b \operatorname{atanh}{\left (\frac{2 a + \frac{b}{x}}{2 \sqrt{a} \sqrt{a + \frac{b}{x} + \frac{c}{x^{2}}}} \right )}}{2 a^{\frac{3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/(a+c/x**2+b/x)**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0970812, size = 87, normalized size = 1.3 \[ \frac{2 \sqrt{a} (x (a x+b)+c)-b \sqrt{x (a x+b)+c} \log \left (2 \sqrt{a} \sqrt{x (a x+b)+c}+2 a x+b\right )}{2 a^{3/2} x \sqrt{a+\frac{b x+c}{x^2}}} \]
Antiderivative was successfully verified.
[In] Integrate[1/Sqrt[a + c/x^2 + b/x],x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.01, size = 88, normalized size = 1.3 \[{\frac{1}{2\,x}\sqrt{a{x}^{2}+bx+c} \left ( 2\,\sqrt{a{x}^{2}+bx+c}{a}^{3/2}-b\ln \left ({\frac{1}{2} \left ( 2\,\sqrt{a{x}^{2}+bx+c}\sqrt{a}+2\,ax+b \right ){\frac{1}{\sqrt{a}}}} \right ) a \right ){\frac{1}{\sqrt{{\frac{a{x}^{2}+bx+c}{{x}^{2}}}}}}{a}^{-{\frac{5}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/(a+c/x^2+b/x)^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/sqrt(a + b/x + c/x^2),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.276129, size = 1, normalized size = 0.01 \[ \left [\frac{4 \, a x \sqrt{\frac{a x^{2} + b x + c}{x^{2}}} + \sqrt{a} b \log \left (-{\left (8 \, a^{2} x^{2} + 8 \, a b x + b^{2} + 4 \, a c\right )} \sqrt{a} + 4 \,{\left (2 \, a^{2} x^{2} + a b x\right )} \sqrt{\frac{a x^{2} + b x + c}{x^{2}}}\right )}{4 \, a^{2}}, \frac{2 \, a x \sqrt{\frac{a x^{2} + b x + c}{x^{2}}} + \sqrt{-a} b \arctan \left (\frac{{\left (2 \, a x + b\right )} \sqrt{-a}}{2 \, a x \sqrt{\frac{a x^{2} + b x + c}{x^{2}}}}\right )}{2 \, a^{2}}\right ] \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/sqrt(a + b/x + c/x^2),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{1}{\sqrt{a + \frac{b}{x} + \frac{c}{x^{2}}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/(a+c/x**2+b/x)**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/sqrt(a + b/x + c/x^2),x, algorithm="giac")
[Out]